<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"
     xml:lang="en">
  <head>
    <title>Information Center for ARM</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <link type="text/css" rel="stylesheet" media="all" href="file://$TOOLKIT_DIR$/doc/infocenter/style/ewic.css" />
  </head>
  <body>
  <div id="topbanner"></div>
  <div id="titlebanner_small">
    <h2>Information Center for ARM</h2>
  </div>
  <div class="breadcrumb"><a href="$TOOLKIT_DIR$/doc/infocenter/index.ENU.html">Information Center for ARM</a> | EXAMPLES</div>
  <div class="mainblock">
   <h2>Example description</h2>

   <pre>  <!--Insert readme.txt-->
Easy_Web

Purpose:
    This tiny web server was taken from the 'Design & Elektronik'
    extra issue 'Embedded Internet'. It can be downloaded from the 
    following web site: www.elektroniknet.de/extraheft. 

    This software was adapted to work with IAR-LPC1768-SK or
    Keil MCB1700 board with as few modifications as possible.

    Note that modifications are not optimal, because ARM is a 32-bit 
    machine while the original software was written for 16-bit cpu.

    The web page shows the values of two analog inputs (AN0 and AN1).
    This tiny webserver needs very little resources and therefore has
    some restrictions:
    - only one active TCP session at any one time
    - no support for fragmented IP datagrams
    - no buffer for TCP datagrams received in wrong order
    - only one web page. No GIF/JPG graphics possible.

    The IP address can be modified in the module tcpip.h to
    fit into your existing LAN (see MYIP_x). 
    The default IP address is: 192.168.0.100
    Please order the extra issue 'Embedded Internet' of the 
    'Design & Elektronik' magazine for a technical description.
    It is only available in German language. 

Hardware configuration:
  This example is tested on IAR-LPC1768-SK and Keil MCB1700 vers.1
  These jumpers must be configured as following:

    IAR_LPC1768_SK board
      PWR_SEL     - depending of power source
      RST_E       - unfilled
      ISP_E       - unfilled
      
    KEIL board
      - VDDIO, VDDREGS, VBUS, AD0.2, LED must be closed
		
Running mode:
  This example run on FLASH after burning.
  
Note:
  To use with KEIL board use Defined Symbols option to define __KEIL_17xx__

-----------------------------------------------------------------------------------
EmacRaw

Purpose:
    This example used to test  EMAC driver with raw packet frame format
    that is not related with any upper-layer (i.e. TCP/IP...).
    There are two ways to test:
    - TX_ONLY and BOUNCE_RX flags can be set one at a time, not both.
    When TX_ONLY is set to 1, it's a TX_ONLY packet from the 
    board to the LAN. Use the traffic analyzer such as ethereal, once
    the program is running, the packets can be monitored on the traffic
    analyzer.
    - When BOUNCE_RX is set to 1 (TX_ONLY needs to reset to 0), it's a
    test to test both TX and RX, use the traffic generator/analyzer,
    you can creat a packet with the destination address as that on the
    board, use the traffic generator to send packets, as long
    as the destination address matches, the program will reverse the source
    and destination address and send the packets back on the network.
    ENABLE_WOL flag is used to test power down and WOL functionality.
    BOUNCE_RX flag needs to be set to 1 when WOL is being tested.

    TX_ONLY, BOUNCE_RX and ENABLE_WOL are configurable definition macros.

Hardware configuration:
  This example is tested on IAR-LPC1768-SK and Keil MCB1700 vers.1
  These jumpers must be configured as following:

    IAR_LPC1768_SK board
      PWR_SEL     - depending of power source
      RST_E       - unfilled
      ISP_E       - unfilled
      
    KEIL board
      - VDDIO, VDDREGS, VBUS, AD0.2, LED must be closed
		
Running mode:
  This example run on FLASH after burning.
  
Note:
  To use with KEIL board use Defined Symbols option to define __KEIL_17xx__

-----------------------------------------------------------------------------------
uIP

Purpose:
    The uIP TCP/IP stack is an extremely small implementation 
    of the TCP/IP protocol suite intended for embedded systems 
    running low-end 8 or 16-bit microcontrollers. The code size 
    and RAM requirements of uIP is an order of magnitude smaller 
    than other generic TCP/IP stacks today. It can only handle a 
    single network interface and contains the IP, ICMP, UDP and 
    TCP protocols.

    The uip_webserver implements WEB server.
    The default IP address is:
	    192.168.0.100
    The default router's IP address is:
	    192.168.0.1
    The subnet mask is:
	    255.255.255.0
    IP address on your PC should not be one of these 
    IP addresses above

Hardware configuration:
  This example is tested on IAR-LPC1768-SK and Keil MCB1700 vers.1
  These jumpers must be configured as following:

    IAR_LPC1768_SK board
      PWR_SEL     - depending of power source
      RST_E       - unfilled
      ISP_E       - unfilled
      
    KEIL board
      - VDDIO, VDDREGS, VBUS, AD0.2, LED must be closed
		
Running mode:
  This example run on FLASH after burning.
  
Note:
  To use with KEIL board use Defined Symbols option to define __KEIL_17xx__
   </pre>

  </div>
  </body>
</html>

